Scheduling Queries
With the Schedule Query screen, you can specify when a query is to run by adding it to schedule groups (as shown in Defining Groups of Items) or removing it from them.
To schedule a query, type S in the Opt field for that query on the Work with Queries screen (STRFW > 14 > 1) as shown in Creating and Running Queries.
The screen also appears in the process of adding or modifying queries if the Schedule Query field on the Exit Query Definition screen is set to Y (as shown in Adding and Modifying Queries).
Schedule Query Query . . . . . TESTJZ Test for Documentation Type options, press Enter. 1=Add 4=Remove Opt Group Description A TEXT FOR A DAILY Daily DAILYGU Daily, for GUI output (EXCEL like, preformatted) DAILYML Daily, in HTML, sent by Email GUI TEXT FOR GUI > QQ Test RR TEXT FOR RR TELNET Check of Z6TELNET Quiery TSTDAY Daily > TSTGRP Test group More... F3=Exit F12=Cancel |
The read-only Query field shows the name and text description of the query being scheduled.
The body of the screen contains a line for each of the existing schedule groups. In each, the Group field shows the name of the group and the Description field shows a text description.
If a group contains the query being scheduled, its Group field is preceded by an open-arrow (the ">" character).
To add the query to a schedule group, type 1 in the Opt field for that group and press Enter.
To remove the query from a schedule group, type 4 in the Opt field for that group and press Enter.